package aaexcercise.chap5;

/**
 * Created by Administrator on 2017/4/5.
 */
abstract class te1{
    public te1(){
        print();
    }
    abstract void print();
}

class te2 extends te1{
    int i = 3;
    public te2(){print();}
    void print(){
        System.out.println("i="+i);
    }
}
public class TestAbs {
    public static void main(String[] args) {
        new te2();
    }
}
